Skip to content

Glasgow | 25-SDC-Jul | Mirabelle Morah | Sprint 4 | implementing shell tools in python - #657

Open
mirabellemorah wants to merge 2 commits into
CodeYourFuture:mainfrom
mirabellemorah:sprint-4-implementing-shell-tools-in-py
Open

Glasgow | 25-SDC-Jul | Mirabelle Morah | Sprint 4 | implementing shell tools in python#657
mirabellemorah wants to merge 2 commits into
CodeYourFuture:mainfrom
mirabellemorah:sprint-4-implementing-shell-tools-in-py

Conversation

@mirabellemorah

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Implemented previous JS script to python

@mirabellemorah mirabellemorah added 📅 Sprint 4 Assigned during Sprint 4 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Aug 10, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, just one minor comment from me

line_number += 1
new_lines.append(numbered)
elif show_n:
numbered = str(line_number).rjust(6, " ") + "\t" + line

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some repeated code patterns here, can that be reduced?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 4 Assigned during Sprint 4 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants